<?php
/***************************************************************
*  Copyright notice
*  (c) 2009, jianyuzhu@gmail.com
*  All rights reserved
*  This script is part of the PPEMI project.
***************************************************************/

//link
if( $request_link_class ) {
	switch($request_link_class) {
	//---------------------------------------------------------------------------//
	//---------------------------------------------------------------------------//
		default:
			if( util_file_exists(CONFIG_PATH . CONFIG_DIR_FRONTS . 'upload/', $request_link_class, '.upload.front.php') ) {
				include_once(CONFIG_PATH . CONFIG_DIR_FRONTS . 'upload/' . $request_link_class . '.upload.front.php');
			} else {
				include_once(CONFIG_PATH . CONFIG_DIR_FRONTS . 'upload/' . 'home.upload.front.php');
			}
			break;
	}
} else {
	include_once(CONFIG_PATH . CONFIG_DIR_FRONTS . 'upload/' . 'home.upload.front.php');
}
//
?>